package com.shop.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalTime;
import java.util.Date;
import java.io.Serializable;

/**
 * 商户信息表(TakeoutMerchant)实体类
 *
 * @author makejava
 * @since 2023-03-15 22:37:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder(toBuilder = true)
@TableName("takeout_merchant")
public class TakeoutMerchant implements Serializable {
    private static final long serialVersionUID = 787377997127437975L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 商户名称
     */
    private String name;
    /**
     * 联系电话
     */
    private String mobile;
    /**
     * 负责人
     */
    private String principalName;
    /**
     * 营业时间(开始时间）
     */
    private LocalTime startHours;
    /**
     * 营业时间(结束时间)
     */
    private LocalTime endHours;
    /**
     * 所属省份（000001）
     */
    private String province;
    /**
     * 所属市（000001001）
     */
    private String city;
    /**
     * 所属区（000001001001）
     */
    private String area;
    /**
     * 详细地址
     */
    private String address;
    /**
     * 门店Logo（图片url，单张）
     */
    private String logo;
    /**
     * 门店外景照片（图片url,url,url）
     */
    private String outImage;
    /**
     * 门店内景照片（url,url,url,url）
     */
    private String innerImage;
    /**
     * 身份证正面照
     */
    private String idCardFrontImage;
    /**
     * 身份证反面照
     */
    private String idCardBackImage;
    /**
     * 营业执照（图片上传）
     */
    private String businessLicense;
    /**
     * 审核状态（0：未审核，1：通过；2：不通过）
     */
    private Integer state;
    /**
     * 是否有效 [0->无效 1->有效]
     */
    private Integer isValid;
    /**
     * 经度
     */
    private Object longitude;
    /**
     * 纬度
     */
    private Object latitude;
    /**
     * 描述
     */
    private String description;
    /**
     * 起送价格
     */
    private Double minDistributionPrice;
    /**
     * 登陆账号
     */
    private String loginAccount;
    /**
     * 密码
     */
    private String password;
    /**
     * 数据入库时间
     */
    private Date insertTime;
    /**
     * 数据最后一次更新时间
     */
    private Date updateTime;
    /**
     * 删除时间
     */
    private Date deleteTime;
    /**
     * 是否已删除
     */
    private Integer beenDeleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPrincipalName() {
        return principalName;
    }

    public void setPrincipalName(String principalName) {
        this.principalName = principalName;
    }

    public LocalTime getStartHours() {
        return startHours;
    }

    public void setStartHours(LocalTime startHours) {
        this.startHours = startHours;
    }

    public LocalTime getEndHours() {
        return endHours;
    }

    public void setEndHours(LocalTime endHours) {
        this.endHours = endHours;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getOutImage() {
        return outImage;
    }

    public void setOutImage(String outImage) {
        this.outImage = outImage;
    }

    public String getInnerImage() {
        return innerImage;
    }

    public void setInnerImage(String innerImage) {
        this.innerImage = innerImage;
    }

    public String getIdCardFrontImage() {
        return idCardFrontImage;
    }

    public void setIdCardFrontImage(String idCardFrontImage) {
        this.idCardFrontImage = idCardFrontImage;
    }

    public String getIdCardBackImage() {
        return idCardBackImage;
    }

    public void setIdCardBackImage(String idCardBackImage) {
        this.idCardBackImage = idCardBackImage;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Object getLongitude() {
        return longitude;
    }

    public void setLongitude(Object longitude) {
        this.longitude = longitude;
    }

    public Object getLatitude() {
        return latitude;
    }

    public void setLatitude(Object latitude) {
        this.latitude = latitude;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Double getMinDistributionPrice() {
        return minDistributionPrice;
    }

    public void setMinDistributionPrice(Double minDistributionPrice) {
        this.minDistributionPrice = minDistributionPrice;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getBeenDeleted() {
        return beenDeleted;
    }

    public void setBeenDeleted(Integer beenDeleted) {
        this.beenDeleted = beenDeleted;
    }

}

